package org.example.sys.entity.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.sys.entity.dto.UserDTO;

import java.io.Serializable;

/**
 * 登录返回结果
 * @author Calvin
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "登录返回结果")
public class LoginResult implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description ="access_token")
    private String access_token;

    @Schema(description ="用户信息")
    private UserDTO user;

}
